import { http } from '@/utils/http/axios';

export interface BasicResponseModel<T = any> {
  code: number;
  message: string;
  result: T;
}

export function uploadFile(params) {
  return http.request<BasicResponseModel>({
    url: '/uploadFile',
    method: 'POST',
    params,
  });
}
